# -*- encoding:utf-8 -*-

# @Team：Big Data Group
# @Time：2021/7/29 23:27
# @Author：albert·bing
# @File：test.py
# @Software：PyCharm


#  start your code
import itertools
from functools import reduce
if __name__ == '__main__':

    # num = reduce(lambda x,y:x*y,range(1,199))
    sum = 0
    for i in range(1,198,1):
        sum = sum + i
    print(sum)

    # sec_list = [[0.494140625, 0.5, 0.5325520833333334, 0.5013020833333334, 0.5],
    #             [0.4934895833333333, 0.486328125, 0.5149739583333334, 0.5162760416666666, 0.5149739583333334],
    #             [0.51171875, 0.5266927083333334, 0.4798177083333333, 0.486328125, 0.509765625],
    #             [0.5234375, 0.498046875, 0.498046875, 0.5084635416666666, 0.5358072916666666],
    #             [0.5130208333333334, 0.5006510416666666, 0.4954427083333333, 0.5045572916666666, 0.4954427083333333]]
    # res_list = []
    # len_num = len(sec_list)
    # for i in range(0,len_num,1):
    #     one_poss_list = []
    #     flag_row = []
    #     flag_col = []
    #     # 第一次选择
    #     for j in range(0,len_num,1):
    #         one_poss_list.append(sec_list[i][j])
    #         flag_col.append(j)
    #         flag_row.append(i)
    #         # 第二次选择
    #         for k in range(0,len_num,1):
    #             if k not in flag_col and k not in flag_row:
    #                 one_poss_list.append(sec_list[i][k])
    #                 # 第三次选择
    #                 for h in range(0,len_num,1):
    #                     if h != k and h != j:
    #                         one_poss_list.append(sec_list[i][h])
    #                         # 第四次选择
    #                         for n in range(0,len_num,1):
    #                             if n != h and n != k and n != j:
    #                                 one_poss_list.append(sec_list[i][n])
    #                                 # 第五次选择
    #                                 for m in range(0,len_num,1):
    #                                     if m != n and m != h and m != k and m != j:
    #                                         one_poss_list.append(sec_list[i][m])